﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/2/16 19:56:38
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sector7.Restaurant.EntityType;
using Sector7.Framework.Core;

namespace Sector7.Restaurant.DAO
{
    /// <summary>
    /// 菜单数据访问接口
    /// </summary>
    public interface IMenuItemDAO
    {
        int Create(RS_MenuItem menuItem);

        List<RS_MenuItem> ReadAll(int typeId);

        int Update(EntityDelta delta);

        /*******************************************************************************/

        RS_MenuItem Read(string menuItemId);

        int Delete(string menuItemId);
    }
}
